package com.alveole.events;

import java.util.ArrayList;
import java.util.List;

public class BrowserUnknownCommandEvent extends BrowserEvent {

	String error;
	public BrowserUnknownCommandEvent(String command)
	{
		this.error=" [Server Error] Cannot interpret command {" + command +"}";
	};
	@Override
	public List<ServerEvent> getAnswers_() {
		List <ServerEvent> events = new ArrayList<ServerEvent>();
			events.add(new ServerEvent("error","",error));
		
		return events;
	}

}
